import { createI18n } from 'vue-i18n'
import zhCN from './zh-CN.json'
import en from './en.json'
import tc from './zh-HK.json'
const messages = {
    'zh-CN':{
        ...zhCN
    },
    'en':{
        ...en
    },
    'tc':{
        ...tc
    }
}
const i18n = createI18n({
    globalInjection:true,
    locale: 'zh-CN',
    messages
})
export const t = i18n.global.t
export default i18n